package com.miao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.miao.dto.XcChooseCourseDto;
import com.miao.dto.XcCourseTablesDto;
import com.miao.po.XcChooseCourse;
import com.miao.po.XcCourseTables;

public interface XcChooseCourseService extends IService<XcChooseCourse>  {

    public XcChooseCourseDto addChooseCourse(String uId, Long courseId);
    //添加课程到课程表
    public XcCourseTables addToTables(XcChooseCourse xcChooseCourse);

    //获取学习状态，返回的是对象
    public XcCourseTablesDto getLearnStatusDto(String uid, Long courseId);
    //付费之后，更新选课表以及课程表
    public boolean updateChaseCourse(String chooseId);
}
